

const   routers =[
    {
        path: '/system',
        name:'system',
        meta:{
          title:'管理页面',
        },
        component: () => import('@/layout/index.vue'),
        children:[
          {
            path: 'menu',
            name:'system_menu',
            meta:{
              title:'管理菜单',
            },
            component: () => import('@/views/system/menu.vue'),
          },
          {
            path: 'role',
            name:'system_role',
            meta:{
              title:'角色管理',
            },
            component: () => import('@/views/system/role.vue'),
          },
          {
            path: 'rights',
            name:'system_rights',
            component: () => import('@/views/system/rights.vue'),
            meta:{
              title:'权限管理',
            },
          }
        ]
      },
]


export default routers